﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE
{
    public class UnitBallastPumpMainModel
    {
        /// <summary>
        /// 转速时间戳
        /// </summary>
        public DateTime? SpeedTs { get; set; }

        /// <summary>
        /// 转速原始值
        /// </summary>
        public float? SpeedOrg { get; set; }

        /// <summary>
        /// 转速
        /// </summary>
        public string Speed => SpeedOrg?.ToString();


        /// <summary>
        /// 运行小时数时间戳
        /// </summary>
        public DateTime? TotalHoursTs { get; set; }

        /// <summary>
        /// 运行小时数原始值
        /// </summary>
        public float? TotalHoursOrg { get; set; }

        /// <summary>
        /// 运行小时数
        /// </summary>
        public string TotalHours => TotalHoursOrg?.ToString();

        /// <summary>
        /// 电机驱动端温度时间戳
        /// </summary>
        public DateTime? MotorDriveTempTs { get; set; }

        /// <summary>
        /// 电机驱动端温度原始值
        /// </summary>
        public float? MotorDriveTempOrg { get; set; }

        /// <summary>
        /// 电机驱动端温度
        /// </summary>
        public string MotorDriveTemp => MotorDriveTempOrg?.ToString();

        /// <summary>
        /// 电机非驱动端温度时间戳
        /// </summary>
        public DateTime? MotorNonDriveTempTs { get; set; }

        /// <summary>
        /// 电机非驱动端温度原始值
        /// </summary>
        public float? MotorNonDriveTempOrg { get; set; }

        /// <summary>
        /// 电机非驱动端温度
        /// </summary>
        public string MotorNonDriveTemp => MotorNonDriveTempOrg?.ToString();

        /// <summary>
        /// 泵体温度时间戳
        /// </summary>
        public DateTime? PumpTempTs { get; set; }

        /// <summary>
        /// 泵体温度原始值
        /// </summary>
        public float? PumpTempOrg { get; set; }

        /// <summary>
        /// 泵体温度
        /// </summary>
        public string PumpTemp => PumpTempOrg?.ToString();
    }

}
